Changing the number of lines in staffs

Unless explicitely specified, staffs consist of five lines, in accordance to the normal way of coding music scores. However, two exceptions might be preferred when using MusicTEX :

Therefore, since its version 5.00, MusicTEX allows for choosing the number of lines of the staffs of an instrument. This is done by defining the macro normalshapemediumseriesnormalshapemediumseries\stafflinesnbr — where r is the roman numeral of the wanted instrument as usual — to be the number of lines of the specific staff. For example :

\def\stafflinesii{4}
will make the instrument number 2 (i.e. ii) to have staffs of four lines, that is, fit for gregorian music.